package com.kgc.basicprovider.service;


import com.kgc.basic.pojo.Good;
import com.kgc.basic.util.ResponseMsg;

import java.util.List;
import java.util.Map;

public interface GoodService {
    public ResponseMsg getGoodById(String id);
    public ResponseMsg getGoodPage(Map<String, Object> map);
    public ResponseMsg getAllGood(Map<String, Object> map);
    public ResponseMsg delGood(String id);
    public ResponseMsg addGood(Good good);
    public ResponseMsg updateGood(Good good);
    public ResponseMsg getGoodList(List<String> idList);
    public ResponseMsg changeStock(Map<String, Object> map);
}
